package com.spic.business.plan.drill.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.spic.common.core.annotation.Excel;
import com.spic.common.core.web.domain.BaseEntity;

/**
 * 预案演练开始，结束启动对象 plan_drill_start
 * 
 * @author renxiang
 * @date 2021-10-31
 */
public class PlanDrillStart extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 预案演练编号 */
    @Excel(name = "预案演练编号")
    private String drillNumber;

    /** 预案启动编号 */
    @Excel(name = "预案启动编号")
    private String startNumber;

    /** 预案启动名称 */
    @Excel(name = "预案启动名称")
    private String startName;

    /** 预案名称 */
    @Excel(name = "预案名称")
    private String planName;

    /** 命令内容 */
    @Excel(name = "命令内容")
    private String commandContent;

    /** 启动人 */
    @Excel(name = "启动人")
    private String startPerson;

    /** 启动时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "启动时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 启动部门 */
    @Excel(name = "启动部门")
    private String startDept;

    /** 签发人 */
    @Excel(name = "签发人")
    private String issuedPerson;

    /** 签发时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "签发时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date issuedTime;

    /** 图片上传（url 用，号隔开) */
    @Excel(name = "图片上传", readConverterExp = "图片上传（url 用，号隔开)")
    private String photoAttachments;

    /** 启动类别（开始启动/结束启动） */
    @Excel(name = "启动类别", readConverterExp = "开=始启动/结束启动")
    private String startEnd;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDrillNumber(String drillNumber) 
    {
        this.drillNumber = drillNumber;
    }

    public String getDrillNumber() 
    {
        return drillNumber;
    }
    public void setStartNumber(String startNumber) 
    {
        this.startNumber = startNumber;
    }

    public String getStartNumber() 
    {
        return startNumber;
    }
    public void setStartName(String startName) 
    {
        this.startName = startName;
    }

    public String getStartName() 
    {
        return startName;
    }
    public void setPlanName(String planName) 
    {
        this.planName = planName;
    }

    public String getPlanName() 
    {
        return planName;
    }
    public void setCommandContent(String commandContent) 
    {
        this.commandContent = commandContent;
    }

    public String getCommandContent() 
    {
        return commandContent;
    }
    public void setStartPerson(String startPerson) 
    {
        this.startPerson = startPerson;
    }

    public String getStartPerson() 
    {
        return startPerson;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setStartDept(String startDept) 
    {
        this.startDept = startDept;
    }

    public String getStartDept() 
    {
        return startDept;
    }
    public void setIssuedPerson(String issuedPerson) 
    {
        this.issuedPerson = issuedPerson;
    }

    public String getIssuedPerson() 
    {
        return issuedPerson;
    }
    public void setIssuedTime(Date issuedTime) 
    {
        this.issuedTime = issuedTime;
    }

    public Date getIssuedTime() 
    {
        return issuedTime;
    }
    public void setPhotoAttachments(String photoAttachments) 
    {
        this.photoAttachments = photoAttachments;
    }

    public String getPhotoAttachments() 
    {
        return photoAttachments;
    }
    public void setStartEnd(String startEnd) 
    {
        this.startEnd = startEnd;
    }

    public String getStartEnd() 
    {
        return startEnd;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("drillNumber", getDrillNumber())
            .append("startNumber", getStartNumber())
            .append("startName", getStartName())
            .append("planName", getPlanName())
            .append("commandContent", getCommandContent())
            .append("remark", getRemark())
            .append("startPerson", getStartPerson())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("startDept", getStartDept())
            .append("issuedPerson", getIssuedPerson())
            .append("issuedTime", getIssuedTime())
            .append("photoAttachments", getPhotoAttachments())
            .append("startEnd", getStartEnd())
            .toString();
    }
}
